#include "GameCore.h"


GameCore::GameCore() : m_Level(5) {
	m_Grid = new Grid();
	m_HUD = new HUD();
	gEngine->getWorld().attachNode(m_HUD,"HUD");
	m_Highscores = new HighscoreService();
	m_Highscores->load();
}

void GameCore::resetScore() {
	m_Score.highestCombo = 0;
	m_Score.highscore = 0;
	m_Score.piecesLeft = 240;
	m_Score.points = 0;
	m_Score.totalPieces = 0;	
}